// 导入基础样式
import '@/styles/common.scss'

import { createApp } from 'vue'


import App from './App.vue'
import router from './router'

// 图片懒加载
import { setupLazyLoad } from '@/directives'

// pinia
import pinia from '@/stores'

const app = createApp(App)
setupLazyLoad(app)
app.use(pinia)
app.use(router)

// 引入全局组件插件
import { componentPlugin } from '@/components'


app.use(componentPlugin)

app.mount('#app')
